Skip to content

feat: add GA event tracking for apply, auth, profile actions#109

Merged
johnshift merged 3 commits intodevfrom
feat/apply-event-tracking
Mar 6, 2026
Merged

feat: add GA event tracking for apply, auth, profile actions#109
johnshift merged 3 commits intodevfrom
feat/apply-event-tracking

Conversation

@johnshift
Copy link
Copy Markdown
Collaborator

Summary

  • Add apply_destination param to all apply button click states (external, login_redirect, revisit, unlock_nudge)
  • Track login_started on "Get Started" click
  • Track logout and account_deleted on confirmation
  • Track resume_uploaded (with skill_count) and resume_parse_failed (with error)
  • Track skills_saved from the skills editor (with skill_count, source)
  • Remove unused JOB_LIST_VIEWED and JOB_DETAILS_VIEWED constants (covered by GA4 default page_view)

Test plan

  • Click "Apply Now" as unauthenticated user → verify apply_button_clicked fires with apply_destination: login_redirect in GA Realtime
  • Click "Apply Now" as authenticated user → verify apply_destination: external
  • Click "Get Started" on login page → verify login_started fires
  • Click "Log out" → verify logout fires
  • Upload a resume → verify resume_uploaded fires with skill_count
  • Upload an invalid file → verify resume_parse_failed fires with resume_parse_error
  • Save skills in editor → verify skills_saved fires with skill_count and source: editor

Add apply_destination param to all apply button click states:
- external (authenticated apply)
- login_redirect (unauthenticated)
- revisit (already applied)
- unlock_nudge (expert job eligibility)
- login_started: fires on "Get Started" click
- logout: fires on logout confirmation
- account_deleted: fires after successful deletion
- resume_uploaded: fires after successful resume save (with skill_count)
- resume_parse_failed: fires on parse error (with error message)
- skills_saved: fires after skills editor save (with skill_count, source)
- Remove unused JOB_LIST_VIEWED and JOB_DETAILS_VIEWED constants
@github-actions github-actions bot added the feat New feature label Mar 6, 2026
@johnshift johnshift merged commit 16f4ead into dev Mar 6, 2026
7 checks passed
@johnshift johnshift deleted the feat/apply-event-tracking branch March 6, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant